@model University.Models.Document

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Document</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">DocumentPath</div>
    <div class="display-field">@Model.DocumentPath</div>

    <div class="display-label">Department</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Department).ToString()</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.DocumentId }) |
    @Html.ActionLink("Back to List", "Index")
</p>


